package com.qf.j2112.service.impl;

import com.qf.j2112.mapper.TourSpotMapper;
import com.qf.j2112.po.TourSpot;
import com.qf.j2112.service.TourSpotService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TourSpotServiceImpl implements TourSpotService {

    @Resource
    private TourSpotMapper tourSpotMapper;

    @Override
    public List<TourSpot> findAll() {
        return tourSpotMapper.findAll();
    }
}
